package com.jbh.apilibrary.api

import android.content.Context

class Api{
    companion object{
        /*主url*/
        const  val HOST  = "https://www.wanandroid.com/"
        /*首页banner*/
        const val banner = "banner/json"
        /*登录*/
        const val login = "user/login"
        /*注册*/
        const val register = "user/register"
        /*退出登录*/
        const val logout="user/logout/json"
        /*微信公众号*/
        const val wxarticle = "wxarticle/chapters/json"
        /*体系*/
        const val tree="tree/json"
        /*導航*/
        const val navi = "navi/json"
        /*个人积分获取*/
        const val Integral="lg/coin/userinfo/json"








        var context:Context?=null
        fun init(ctx:Context){
            context = ctx
        }
    }

}

